Endoscopic control of hematemesis